<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Hero War:  Fichier source de C:/Documents and Settings/israhal17/Bureau/devel/HeroWar/include/gfx/DLMap.h</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css">
<link href="../../doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="../../index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="../../namespaces.html"><span>Espaces&nbsp;de&nbsp;nommage</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Fichiers</span></a></li>
      <li><a href="../../examples.html"><span>Exemples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="../../files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
    </ul>
  </div>
<h1>C:/Documents and Settings/israhal17/Bureau/devel/HeroWar/include/gfx/DLMap.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef DLMAP_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define DLMAP_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#include &lt;SFML/Graphics.hpp&gt;</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;gfx/Map.h&gt;</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="keyword">namespace </span>gfx{
<a name="l00007"></a>00007 
<a name="l00009"></a><a class="code" href="../../d0/d1c/namespacegfx.html#35f773ecd26db8607f55fc71561889df">00009</a> <span class="keyword">typedef</span> std::map&lt;int,sf::IntRect&gt; <a class="code" href="../../d0/d1c/namespacegfx.html#35f773ecd26db8607f55fc71561889df" title="Conteneur avec des rect qui associe chaque numéro de tile à une sous image dans...">RectTileSet</a>;
<a name="l00010"></a>00010 
<a name="l00017"></a><a class="code" href="../../d3/db5/classgfx_1_1_d_l_map.html">00017</a> <span class="keyword">class </span><a class="code" href="../../d3/db5/classgfx_1_1_d_l_map.html" title="Affiche une map de tile de manière optimisé avec les Display List de openGL à...">DLMap</a> :
<a name="l00018"></a>00018         <span class="keyword">public</span> sf::Drawable
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020 <span class="keyword">public</span>:
<a name="l00028"></a>00028         <a class="code" href="../../d3/db5/classgfx_1_1_d_l_map.html#2d2a490450fc91ee1135b62651a7f631" title="Constructeur unique de DLMap.">DLMap</a>(  <span class="keyword">const</span> <a class="code" href="../../dc/dcf/classgfx_1_1_map.html" title="Classes qui gère la matrices d&amp;#39;une map.">Map</a>&amp; map,
<a name="l00029"></a>00029                         <span class="keyword">const</span> sf::Image* imgTileSet,
<a name="l00030"></a>00030                         <span class="keyword">const</span> <a class="code" href="../../d0/d1c/namespacegfx.html#35f773ecd26db8607f55fc71561889df" title="Conteneur avec des rect qui associe chaque numéro de tile à une sous image dans...">RectTileSet</a>&amp; rectTileSet,
<a name="l00031"></a>00031                         <span class="keyword">const</span> sf::FloatRect&amp; tileDim);
<a name="l00032"></a>00032 
<a name="l00033"></a>00033         ~<a class="code" href="../../d3/db5/classgfx_1_1_d_l_map.html" title="Affiche une map de tile de manière optimisé avec les Display List de openGL à...">DLMap</a>(<span class="keywordtype">void</span>);
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <span class="keyword">protected</span>:
<a name="l00036"></a>00036         <span class="keyword">virtual</span> <span class="keywordtype">void</span> Render(sf::RenderTarget&amp; Target) <span class="keyword">const</span>;
<a name="l00037"></a>00037 <span class="keyword">private</span>:
<a name="l00038"></a>00038         <span class="comment">//Id de la diplay list</span>
<a name="l00039"></a>00039         GLuint m_dLMapId;
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 };
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 }
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="preprocessor">#endif</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Généré le Wed Feb 4 02:28:38 2009 pour Hero War par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="../../doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>
